package com.guodu.service;

import java.util.List;

import com.guodu.entity.FileTechnicaltz;
import com.guodu.entity.PurchaseDistributionPlantz;
import com.guodu.entity.PurchasedistributiontzStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchaseDistributionPlantzQueryVo;
import com.guodu.vo.PurchaseDistributionPlantzVo;


public interface PurchaseDistributionPlantzService {
	PurchaseDistributionPlantzVo findAllMoney(PurchaseDistributionPlantzQueryVo pdpq, Units units);

	long findSizeByVo(PurchaseDistributionPlantzQueryVo pdpq, Units units);

	public void examinAll(PurchaseDistributionPlantzQueryVo pdpq, Units units);
	
	List<PurchaseDistributionPlantzVo> findByVo(PurchaseDistributionPlantzQueryVo pdpq, Units units, int curPage, int pageSize);

	void save(PurchaseDistributionPlantz purchaseDistributionPlantz);

	PurchaseDistributionPlantz findById(String purchaseId);

	void update(PurchaseDistributionPlantz purchaseDistributionPlantz, Long status);

	List<PurchasedistributiontzStatus> findStatus(String purchaseId);

	void examine(String ids, String rs, String beforeStatus, Long status,
			UserInfo user);

	void delByIds(String[] delIds);

	void saveFile(FileTechnicaltz fileTechnicaltz);

	List<FileTechnicaltz> findFile(String technical);

	void delByOne(String technical);

	List<PurchaseDistributionPlantz> findAllByVo(
			PurchaseDistributionPlantzQueryVo pdpq, Units attribute);


}
